import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgValidateForm } from '@farris/devkit';
var Httj52v4ComponentViewmodelForm = /** @class */ (function (_super) {
    tslib_1.__extends(Httj52v4ComponentViewmodelForm, _super);
    function Httj52v4ComponentViewmodelForm() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgFormControl({
            id: 'htbh',
            name: "{{htbh_f2766c76_464f}}",
            binding: 'htbh',
            updateOn: 'blur',
            defaultI18nValue: '合同编号',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], Httj52v4ComponentViewmodelForm.prototype, "htbh", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'htqdrq',
            name: "{{htqdrq_8046b93d_ir26}}",
            binding: 'htqdrq',
            updateOn: 'blur',
            defaultI18nValue: '合同签订日期',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], Httj52v4ComponentViewmodelForm.prototype, "htqdrq", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'htqdr',
            name: "{{htqdr_6e3f794c_ch7s}}",
            binding: 'htqdr',
            updateOn: 'blur',
            defaultI18nValue: '合同签订人',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], Httj52v4ComponentViewmodelForm.prototype, "htqdr", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'htmc',
            name: "{{htmc_34193c7e_dqn3}}",
            binding: 'htmc',
            updateOn: 'blur',
            defaultI18nValue: '合同名称',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], Httj52v4ComponentViewmodelForm.prototype, "htmc", void 0);
    Httj52v4ComponentViewmodelForm = tslib_1.__decorate([
        Injectable(),
        NgValidateForm({
            formGroupName: '合同统计',
            enableValidate: true
        }),
        Injectable()
    ], Httj52v4ComponentViewmodelForm);
    return Httj52v4ComponentViewmodelForm;
}(Form));
export { Httj52v4ComponentViewmodelForm };
